#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_Skill.nanopb.h"
#ifndef MAX_SKILL_SLOT_NUM
#define MAX_SKILL_SLOT_NUM 20
#endif

class SkillSlotDesc : public NFI_DESC_TEMPLATE_MACRO(SkillSlotDesc, E_SkillSlot, EOT_CONST_SKILL_SLOT_DESC_ID, MAX_SKILL_SLOT_NUM)
public:
	SkillSlotDesc();
	virtual ~SkillSlotDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
